An attached document embedded as binary object or sent together with the invoice.
バイナリオブジェクトとして埋め込まれた、または請求書と一緒に送られた添付書類。


About

Syntax binding
ubl:Invoice / cac:AdditionalDocumentReference / cac:Attachment / cbc:EmbeddedDocumentBinaryObject
Restricted Syntax Cardinality
0..1
Attribute(s)
@mimeCode
@filename
UBL 2.1
XPath
/ Invoice / cac:AdditionalDocumentReference [ cbc:DocumentTypeCode != '130' ] / cac:Attachment / cbc:EmbeddedDocumentBinaryObject
Occurrence
0..1
Datatype
BinaryObjectType
UBL Definition
A binary large object containing an attached document.
Namespace
cbc urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2

Semantic

Business Term

Attached document

添付書類
ID
ibt-125
Description
An attached document embedded as binary object or sent together with the invoice.
バイナリオブジェクトとして埋め込まれた、または請求書と一緒に送られた添付書類。
Aligned Cardinality
0..1
Semantic datatype
Binary object

Code list

MimeCode
Mime code (subset of IANA code list)

Child elements

  ID Business term Sem. Card. Syntax Card. XPath
 ibt-125-1 1..1 1..1 / Invoice / cac:AdditionalDocumentReference [ cbc:DocumentTypeCode != '130' ] / cac:Attachment / cbc:EmbeddedDocumentBinaryObject / @mimeCode
 ibt-125-2 1..1 1..1 / Invoice / cac:AdditionalDocumentReference [ cbc:DocumentTypeCode != '130' ] / cac:Attachment / cbc:EmbeddedDocumentBinaryObject / @filename

VERSION 1.0 RULES

Unchanged
Same as 0.9.3

VERSION 0.9.3 RULES
JP PINT 0.9.3 Shared rules
ibr-071(fatal)
Unchanged
Same as 0.9.2
ibr-074(fatal)
Changed Message
[ibr-074]-Attached document (ibt-125) MUST contain the mime code attribute (ibt-125-1).
context
//*[ends-with(name(), 'BinaryObject')]
test
(@mimeCode)
ibr-075(fatal)
Changed Message
[ibr-075]-Attached document (ibt-125) MUST contain the filename attribute (ibt-125-2).
context
//*[ends-with(name(), 'BinaryObject')]
test
(@filename)

VERSION 0.9.2 RULE
JP PINT 0.9.2 Shared rule
ibr-071(fatal)
Still valid
[ibr-071]-An invoice should not include an AdditonalDocumentReference (ibg-24) simultaneously referring an Invoice Object Identifier (ibt-018) and an Attachment (ibt-125).
context
/ubl:Invoice |
/cn:CreditNote
test
not(//cac:AdditionalDocumentReference[cbc:DocumentTypeCode='130']/cac:Attachment)

VERSION 0.9.1 RULES
Obsoleted
Shared rules (0.9.1)
ibr-071 (fatal)
[ibr-071]-An invoice should not include an AdditonalDocumentReference (ibg-24) simultaneously referring an Invoice Object Identifier (ibt-018) and an Attachment (ibt-125).
context
/ubl:Invoice |
/cn:CreditNote
test
not(//cac:AdditionalDocumentReference[cbc:DocumentTypeCode='130']/cac:Attachment)
ibr-075 (fatal)
[ibr-075]-Binary object elements MUST contain the filename attribute (ibt-125-2).
context
//*[ends-with(name(), 'BinaryObject')]
test
(@filename)